package com.spring.boot.pojo;

import java.time.OffsetDateTime;

public class Json {
    /**
     * 库房编码
     */
    private String code;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 创建时间
     */
    private OffsetDateTime createDate;
    /**
     * 生成库位标记 0 否 1是
     */
    private Long createLocationFlag;
    /**
     * 删除标记
     */
    private String delFlag;
    /**
     * 对应ERP库房编码
     */
    private String erpCode;
    /**
     * 是否有子节点
     */
    private long hasleaf;
    /**
     * 主键
     */
    private long id;
    /**
     * 有效标识 0-有效 1-无效
     */
    private long isEnable;
    /**
     * 地理位置
     */
    private String location;
    /**
     * 库房名称
     */
    private String name;
    /**
     * 所属部门ID 内部组织ID、供应商ID或者客户ID
     */
    private long officeid;
    /**
     * 所属部门类型 1-内部组织部门 2-供应商 3-客户
     */
    private String officeType;
    /**
     * 父ID
     */
    private long parentid;
    /**
     * 父ID集合，逗号分隔
     */
    private String parentids;
    /**
     * 库房类型 数据字典 “实体库房”、“虚拟库房”、“现场存放区”、“线边库”等
     */
    private String type;
    /**
     * 修改人
     */
    private String updateBy;
    /**
     * 修改时间
     */
    private OffsetDateTime updateDate;
    /**
     * 库房总容积
     */
    private Double volume;
    /**
     * 库位总数量
     */
    private Long warehouseLocationQuantity;

    public String getCode() { return code; }
    public void setCode(String value) { this.code = value; }

    public String getCreateBy() { return createBy; }
    public void setCreateBy(String value) { this.createBy = value; }

    public OffsetDateTime getCreateDate() { return createDate; }
    public void setCreateDate(OffsetDateTime value) { this.createDate = value; }

    public Long getCreateLocationFlag() { return createLocationFlag; }
    public void setCreateLocationFlag(Long value) { this.createLocationFlag = value; }

    public String getDelFlag() { return delFlag; }
    public void setDelFlag(String value) { this.delFlag = value; }

    public String geterpCode() { return erpCode; }
    public void seterpCode(String value) { this.erpCode = value; }

    public long getHasleaf() { return hasleaf; }
    public void setHasleaf(long value) { this.hasleaf = value; }

    public long getid() { return id; }
    public void setid(long value) { this.id = value; }

    public long getIsEnable() { return isEnable; }
    public void setIsEnable(long value) { this.isEnable = value; }

    public String getLocation() { return location; }
    public void setLocation(String value) { this.location = value; }

    public String getName() { return name; }
    public void setName(String value) { this.name = value; }

    public long getOfficeid() { return officeid; }
    public void setOfficeid(long value) { this.officeid = value; }

    public String getOfficeType() { return officeType; }
    public void setOfficeType(String value) { this.officeType = value; }

    public long getParentid() { return parentid; }
    public void setParentid(long value) { this.parentid = value; }

    public String getParentids() { return parentids; }
    public void setParentids(String value) { this.parentids = value; }

    public String getType() { return type; }
    public void setType(String value) { this.type = value; }

    public String getUpdateBy() { return updateBy; }
    public void setUpdateBy(String value) { this.updateBy = value; }

    public OffsetDateTime getUpdateDate() { return updateDate; }
    public void setUpdateDate(OffsetDateTime value) { this.updateDate = value; }

    public Double getVolume() { return volume; }
    public void setVolume(Double value) { this.volume = value; }

    public Long getWarehouseLocationQuantity() { return warehouseLocationQuantity; }

    @Override
    public String toString() {
        return "Json{" +
                "code='" + code + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createDate=" + createDate +
                ", createLocationFlag=" + createLocationFlag +
                ", delFlag='" + delFlag + '\'' +
                ", erpCode='" + erpCode + '\'' +
                ", hasleaf=" + hasleaf +
                ", id=" + id +
                ", isEnable=" + isEnable +
                ", location='" + location + '\'' +
                ", name='" + name + '\'' +
                ", officeid=" + officeid +
                ", officeType='" + officeType + '\'' +
                ", parentid=" + parentid +
                ", parentids='" + parentids + '\'' +
                ", type='" + type + '\'' +
                ", updateBy='" + updateBy + '\'' +
                ", updateDate=" + updateDate +
                ", volume=" + volume +
                ", warehouseLocationQuantity=" + warehouseLocationQuantity +
                '}';
    }

    public void setWarehouseLocationQuantity(Long value) { this.warehouseLocationQuantity = value; }
}
